export function isElementNode(node:Node) {
  return node.nodeType === Node.ELEMENT_NODE
}

export function isTextNode(node:Node) {
  return node.nodeType === Node.TEXT_NODE
}
